//
//  Contents.m
//  23-HomeWorkQQMusic
//
//  Created by dllo on 16/8/13.
//  Copyright © 2016年 LST. All rights reserved.
//

#import "Contents.h"
#import "List.h"
@implementation Contents

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"list"]) {
        NSMutableArray<List *> *array = [NSMutableArray array];
        for (NSDictionary *dic in value) {
            List *list = [List modelWithDic:dic];
            [array addObject:list];
        }
        _list = array;
    }
}




@end
